
const subj = {
  namespaced: true,
  state: {
    subjectID: [],
    subjeclist: [] // 学科列表
  },
  mutations: {
    getsubjectID (state, id) {
      state.subjectID = id
      console.log(123)
    },
    getSubjeclist (state, res) {
      state.subjeclist = res
    }
  }
}

export default subj
